package com.sskj.b70.utils;

/**
 * Created by Administrator on 2017/4/5.
 */

public class BtnDoubleClickUtil {

    private BtnDoubleClickUtil(){}

    private static long mLastClickTime = 0;

    public static boolean isFastDoubleClick() {
        long time = System.currentTimeMillis();
        long timeD = time - mLastClickTime;
        if ( 0 < timeD && timeD < 1000) {
            return true;
        }

        mLastClickTime = time;

        return false;
    }


}